Skip to content

Couple of cg_ssa refactorings#153046

Open
bjorn3 wants to merge 5 commits intorust-lang:mainfrom
bjorn3:cg_ssa_cleanups
Open

Couple of cg_ssa refactorings#153046
bjorn3 wants to merge 5 commits intorust-lang:mainfrom
bjorn3:cg_ssa_cleanups

Conversation

@bjorn3
Copy link
Member

@bjorn3 bjorn3 commented Feb 24, 2026

These should help a bit with using cg_ssa in cg_clif at some point in the future.

@rustbot
Copy link
Collaborator

rustbot commented Feb 24, 2026

Some changes occurred in compiler/rustc_codegen_gcc

cc @antoyo, @GuillaumeGomez

@rustbot rustbot added A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Feb 24, 2026
@rustbot
Copy link
Collaborator

rustbot commented Feb 24, 2026

r? @TaKO8Ki

rustbot has assigned @TaKO8Ki.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

Why was this reviewer chosen?

The reviewer was selected based on:

  • Owners of files modified in this PR: compiler
  • compiler expanded to 68 candidates
  • Random selection from 13 candidates

@rust-log-analyzer

This comment has been minimized.

In Cranelift the regular Type enum can't represent function signatures.
Function pointers are represented as plain pointer sized integer.
@bjorn3 bjorn3 force-pushed the cg_ssa_cleanups branch 2 times, most recently from 1165ac2 to 79d3b8e Compare February 24, 2026 15:43
@rust-log-analyzer

This comment has been minimized.

In Cranelift a Value can't hold arbitrarily sized values.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants